/*set css to default*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
}

img {
    vertical-align: middle;
}

ol, ul {
    list-style: none;
}

a {
    cursor: pointer;
    transition: all .3s;
    color: inherit;
    text-decoration: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body, input {
    font-family: PT Sans, sans-serif;
    font-size: 13px;
    color: #404040;
}

.hidden {
    display: none;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.box {
    background: #fff;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-title {
    height: 35px !important;
    text-indent: 35px !important;
    color: #43ac9b;
    background: url('../images/icon/upload-icon.png') 5px center no-repeat;
    margin-bottom: 3px;
}

.wrapper, .detail-wrapper {
    width: 990px;
    margin: 60px auto 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
}

.wrapper.create {
    padding: 0;
}

.button {
    width: 100%;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background: #59bfae; /* Old browsers */
    border-radius: 2px;
    -moz-box-shadow: 0 1px 0 #FFFFFF;
    -webkit-box-shadow: 0 1px 0 #FFFFFF;
     box-shadow: 0 2px 0 rgba(0,0,0,0.03);
    color: white;
    cursor: pointer;
    transition: all .3s;
}

.button:hover {
    opacity: 0.85;
}

.close-button {
    width: 15px;
    height: 15px;
    background: url('../images/btn-close.png') no-repeat;
    float: right;
    margin-bottom: 5px;
    cursor: pointer;
}

.close-button:hover {
    background: url('../images/btn-close.png') right no-repeat;
}

.common-input, select {
    font-family: PT Sans, sans-serif;
    font-size: 13px;
    -webkit-appearance: none;
    -webkit-box-sizing: border-box;
    padding: 10px;
    margin: 3px 0;
    width: 100%;
    color: #565656;
    outline: none;
    border: 1px solid #C7C7C7;
    transition: border-color .3s;
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: moz-text;
    -ms-user-select: text;
    user-select: text;
}

select {
    padding: 7px 4px;
}

.common-input:hover,
select:hover {
    border-color: #9B9B9B;
}

.common-input:focus,
select:focus {
    border-color: #B9B9B9;
}

.error {
    background: url(../images/icon/success_error.png) 365px 11px no-repeat, white;
    border: 1px solid rgb(238, 134, 134) !important;
}

.success {
    background: url(../images/icon/success_error.png) 365px -25px no-repeat, white;
}

.inline {
    display: inline-block;
    vertical-align: middle;
}

.panel {
    display: inline-block;
    vertical-align: top;
    width: 570px;
}

.panel.right {
    width: 405px;
}

.wrapper.create .panel.right {
    padding: 0 10px;
    width: 395px;
}

#image-container {
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: moz-none;
    -ms-user-select: none;
    user-select: none;
}

#image-look {
    position: relative;
    cursor: crosshair;
    margin: 0 10px 10px;
    width: 560px;
}

#image-look:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
}

#image-look img {
    width: 560px;
    min-height: 340px;
}

.create-template {
    position: absolute;
    width: 280px;
}

.tag {
    position: absolute;
    top: -20px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
    cursor: -webkit-grab;
}

.tag.tag-node {
    cursor: pointer;
}

.tag:hover {
    opacity: 0.8;
}

.tag:active,
.tag:focus {
    cursor: -webkit-grabbing;
}

.create-template .tag-content {
    margin: 5px;
    padding: 8px;
    animation: fade 5s;
    -webkit-animation: fade .5s;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.35);
    transition: opacity 0.3s;
}

#image-container .tag-container {
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
}

@-webkit-keyframes fade {
    0% {
    opacity: 0;
}
100% {
    opacity: 1;
}
}

.button.create-tag {
    margin-top: 5px;
    height: 35px;
    line-height: 35px;
}

.button.create-tag.delete {
    display: none;
    background: url('../images/delete-icon.png'), #f15b68; /* Old browsers */
    background: url('../images/delete-icon.png'), -moz-linear-gradient(top,  #f15b68 0%, #e75865 100%); /* FF3.6+ */
    background: url('../images/delete-icon.png'), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f15b68), color-stop(100%,#e75865)); /* Chrome,Safari4+ */
    background: url('../images/delete-icon.png'), -webkit-linear-gradient(top,  #f15b68 0%,#e75865 100%); /* Chrome10+,Safari5.1+ */
    background: url('../images/delete-icon.png'), -o-linear-gradient(top,  #f15b68 0%,#e75865 100%); /* Opera 11.10+ */
    background: url('../images/delete-icon.png'), -ms-linear-gradient(top,  #f15b68 0%,#e75865 100%); /* IE10+ */
    background: url('../images/delete-icon.png'), linear-gradient(to bottom,  #f15b68 0%,#e75865 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f15b68', endColorstr='#e75865',GradientType=0 ); /* IE6-9 */
    background-position: center;
    background-repeat: no-repeat;
}

.create-template.edit .button {
    display: inline-block;
    vertical-align: middle;
    width: 200px;
}

.create-template.edit .button.delete {
    width: 50px;
}

.look-caption {
    height: 30px;
    line-height: 40px;
    text-indent: 10px;
}

.panel.right .look-caption {
    text-indent: 0;
}

.panel.right .button-wrapper {
    text-align: right;
}

.panel.right .button-wrapper .button {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    width: 100px;
}

.common-input.description {
    height: 200px;
    resize: none;
    margin-bottom: 20px;
}

.tag-image {
    position: relative;
    border: 1px solid #c7c7c7;
    height: 100px;
    overflow: hidden;
}

.tag-image .upload-button {
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 125px;
    text-align: center;
    background: url("../images/add-icon.png") center 30px no-repeat, #f0f0f0;
    opacity: 0.5;
    transition: opacity .3s;
}

.tag-image .upload-button:hover {
    opacity: 0.8;
}

.tag-image .image-wrapper {
    position: absolute;
}

.tag-image .image-wrapper img {
    width: 100%;
    min-height: 100px;
    outline: none;
}

.tag-image .close-button {
    position: absolute;
    z-index: 999;
    right: 3px;
    top: 3px;
}